/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package phd.dupenois.changeidentifiers;

import phd.dupenois.changeidentifiers.ChangeIdentifier;

/**
 *
 * @author mpd209
 */
public interface ChangeIdentifierListener {
    void exceptionThrown(Exception ex);
    void startedChangeIdentifierSet(long time);
    void finishedChangeIdentifierSet(long timeTaken);
    void startedChangeIdentifier(ChangeIdentifier identifier, long time);
    void finishedChangeIdentifier(ChangeIdentifier identifier, long timeTaken);

    void changeIdentifierBrokenMaxFail(ChangeIdentifier identifier, int maxFails);
    void changeIdentifierBrokenOwnThreshold(ChangeIdentifier identifier, double threshold, double value, boolean redraw);
    void changeIdentifierBrokenTotalThreshold(ChangeIdentifier identifier, double threshold, double valueAdded, double totalValue);
}
